package com.nache.reps;

import java.util.Date;

public class MenuItem {
	private int id;
	private String itemName;
	private String itemImageURL;
	private String itemdesc;
	private double price;
	private String currency;
	private String dateCreated; // Predefined names by Grails will be filled automatically
	private String lastUpdated; // Predefined names by Grails will be filled automatically
    private int categoryid;
	public MenuItem(int id,String itemName, String itemImageURL, String itemdesc,
			double price, String currency, String dateCreated, String lastUpdated,
			int categoryid) {
		super();
		this.setId(id);
		this.itemName = itemName;
		this.itemImageURL = itemImageURL;
		this.itemdesc = itemdesc;
		this.price = price;
		this.currency = currency;
		this.dateCreated = dateCreated;
		this.lastUpdated = lastUpdated;
		this.categoryid = categoryid;
	}
	public String getItemName() {
		return itemName;
	}
	public void setItemName(String itemName) {
		this.itemName = itemName;
	}
	public String getItemImageURL() {
		return itemImageURL;
	}
	public void setItemImageURL(String itemImageURL) {
		this.itemImageURL = itemImageURL;
	}
	public String getItemdesc() {
		return itemdesc;
	}
	public void setItemdesc(String itemdesc) {
		this.itemdesc = itemdesc;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public String getCurrency() {
		return currency;
	}
	public void setCurrency(String currency) {
		this.currency = currency;
	}
	public String getDateCreated() {
		return dateCreated;
	}
	public void setDateCreated(String dateCreated) {
		this.dateCreated = dateCreated;
	}
	public String getLastUpdated() {
		return lastUpdated;
	}
	public void setLastUpdated(String lastUpdated) {
		this.lastUpdated = lastUpdated;
	}
	public int getCategoryid() {
		return categoryid;
	}
	public void setCategoryid(int categoryid) {
		this.categoryid = categoryid;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	@Override
	public String toString() {
		return "MenuItem [id=" + id + ", itemName=" + itemName
				+ ", itemImageURL=" + itemImageURL + ", itemdesc=" + itemdesc
				+ ", price=" + price + ", currency=" + currency
				+ ", dateCreated=" + dateCreated + ", lastUpdated="
				+ lastUpdated + ", categoryid=" + categoryid + "]";
	}
	

}
